@extends('admin.layout.index')
@section('header','专栏文章')
@section('con')

    <div class="panel panel-default">
        <div class="panel-heading">
        内容详情
        </div>
            <form role="form">
            @foreach($res as $k=>$v)
                <div class="form-group">
                    <label>&nbsp ID</label>
                    <input class="form-control" value="{{$v->id}}" readonly="true">
                </div>
                <div class="form-group">
                    <label>&nbsp 标题</label>
                    <input class="form-control"  value="{{$v->ctitle}}" readonly="true">
                </div>
                <div class="form-group">
                    <label>&nbsp 状态</label>
                    <input class="form-control"  value="{{(($v->cstatus)==1)?'开启':'关闭'}}" readonly="true">
                </div>
                <div class="form-group">
                    <label>&nbsp 点赞</label>
                    <input class="form-control"  value="{{$v->pass}}" readonly="true">
                </div>
                <div class="form-group">
                    <label>&nbsp 时间</label>
                    <input class="form-control" value="{{$v->time}}" readonly="true">
                </div>
                <div class="form-group">
                    <label>&nbsp 内容</label>
                    <textarea class="form-control" rows="12" readonly="true">{{$v->ccontent}}</textarea>
                </div>
            @endforeach
            </form>
    </div>
                
@endsection